package com.hckjsec.law.domain.HomeView;

import com.hckjsec.common.annotation.Excel;

public class LawHomeConsultation {
    private String type;
    @Excel(name = "单位名称")
    private String name;
    @Excel(name = "待处理")
    private Long  pending;
    @Excel(name = "已处理")
    private Long  processed;
    @Excel(name = "合计")
    private Long  total;

    public LawHomeConsultation() {
    }

    public LawHomeConsultation(String type, String name, Long pending, Long processed, Long total) {
        this.type = type;
        this.name = name;
        this.pending = pending;
        this.processed = processed;
        this.total = total;
    }

    public void  plus(){
        this.total = this.pending + this.processed;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getPending() {
        return pending;
    }

    public void setPending(Long pending) {
        this.pending = pending;
    }

    public Long getProcessed() {
        return processed;
    }

    public void setProcessed(Long processed) {
        this.processed = processed;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
